package com.burns.rbac.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.burns.rbac.entity.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

//@Repository
//@Mapper
public interface EmpMapper extends BaseMapper<Emp> {
    /**
     * mp支持自定义分页，方法名称必须是以Page结尾
     * @param page
     * @return
     */
    IPage empPage(Page<Emp> page);
}
